import request from '@/utils/request'

// 查询超速报警车辆明细列表
export function listCsbjclmx(query) {
  return request({
    url: '/tjbb/bjcx/csbjclmx/list',
    method: 'get',
    params: query
  })
}

// 查询超速报警车辆明细详细
export function getCsbjclmx(id) {
  return request({
    url: '/tjbb/bjcx/csbjclmx/' + id,
    method: 'get'
  })
}

// 新增超速报警车辆明细
export function addCsbjclmx(data) {
  return request({
    url: '/tjbb/bjcx/csbjclmx',
    method: 'post',
    data: data
  })
}

// 修改超速报警车辆明细
export function updateCsbjclmx(data) {
  return request({
    url: '/tjbb/bjcx/csbjclmx',
    method: 'put',
    data: data
  })
}

// 删除超速报警车辆明细
export function delCsbjclmx(id) {
  return request({
    url: '/tjbb/bjcx/csbjclmx/' + id,
    method: 'delete'
  })
}
